home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / comm2 / termsorc.lha / Extras / Source / gtlayout-source.lha / gtlayout.i < prev    next >
Text File  |  1995-09-24  |  15KB  |  519 lines

  1.     IFND    GTLAYOUT_I
  2. GTLAYOUT_I    equ    1
  3.  
  4. **
  5. **    GadTools layout toolkit
  6. **
  7. **    Copyright © 1993-1995 by Olaf `Olsen' Barthel
  8. **    Freely distributable.
  9. **
  10. **    Assembler-Include file by Clemens Resanka
  11. **    Email: Clemens.Resanka@310-72-26.st.co.at
  12. **    I deleted all typedefs and protos....
  13. **
  14. **    HERE BE DRAGONS!
  15. **    Note to the casual assembly language hacker: I'll make life to you
  16. **    as unpleasant as possible if you use the information contained in
  17. **    this very document as the sole source of information on how to
  18. **    create programs to use gtlayout.library. Read gtlayout.doc, better
  19. **    still, learn a decent high level language like `C' first, then read
  20. **    gtlayout.doc. Do it twice, and then do it all over again one more
  21. **    time.
  22. **
  23.  
  24. *****************************************************************************
  25.  
  26.     IFND EXEC_TYPES_I
  27.     INCLUDE 'exec/types.i'
  28.     ENDC
  29.  
  30.     IFND INTUITION_INTUITION_I
  31.     INCLUDE 'intuition/intuition.i'
  32.     ENDC
  33.  
  34.     IFND UTILITY_TAGITEM_I
  35.     INCLUDE 'utility/tagitem.i'
  36.     ENDC
  37.  
  38.     IFND INTUITION_GADGETCLASS_I
  39.     INCLUDE 'intuition/gadgetclass.i'
  40.     ENDC
  41.  
  42.     IFND LIBRARIES_GADTOOLS_I
  43.     INCLUDE 'libraries/gadtools.i'
  44.     ENDC
  45.  
  46. *****************************************************************************
  47.  
  48. ; PlacementTypes; where to place a gadget label
  49. PLACE_RIGHT        EQU    $0002
  50. PLACE_LEFT        EQU    $0001
  51. PLACE_ABOVE        EQU    $0004
  52. PLACE_IN        EQU    $0008
  53. PLACE_BELOW        EQU    $0010
  54.  
  55. ; AlignmentTypes; how to align text lines in BOX_KIND gadgets
  56. ALIGNTEXT_LEFT        EQU    $0000
  57. ALIGNTEXT_CENTERED    EQU    $0001
  58. ALIGNTEXT_RIGHT     EQU    $0002
  59. ALIGNTEXT_PAD        EQU    $0003
  60.  
  61. ; TapeDeckButtonTypes; button images available for TAPEDECK_KIND gadgets
  62. TDBT_BACKWARD        EQU    $0001
  63. TDBT_FORWARD        EQU    $0002
  64. TDBT_PREVIOUS        EQU    $0004
  65. TDBT_NEXT        EQU    $0008
  66. TDBT_STOP        EQU    $0010
  67. TDBT_PAUSE        EQU    $0020
  68. TDBT_RECORD        EQU    $0030
  69. TDBT_REWIND        EQU    $0040
  70. TDBT_EJECT        EQU    $0080
  71. TDBT_PLAY        EQU    $0100
  72. TDBTLAST        EQU    $0200
  73.  
  74. ; How to align the window opened by LT_Build on the screen
  75.     BITDEF ALIGNF,RIGHT,0
  76.     BITDEF ALIGNF,LEFT,1
  77.     BITDEF ALIGNF,TOP,2
  78.     BITDEF ALIGNF,BOTTOM,3
  79.     BITDEF ALIGNF,EXTRA_RIGHT,4
  80.     BITDEF ALIGNF,EXTRA_LEFT,5
  81.     BITDEF ALIGNF,EXTRA_TOP,6
  82.     BITDEF ALIGNF,EXTRA_BOTTOM,7
  83.  
  84. *****************************************************************************
  85.  
  86. ; Generic tags, applicable for several object types
  87. LA_Chars        equ        TAG_USER+2
  88. LA_LabelPlace        equ        TAG_USER+3
  89. LA_ExtraSpace        equ        TAG_USER+4
  90. LA_NoKey        equ        TAG_USER+30
  91. LA_HighLabel        equ        TAG_USER+31
  92. LA_LabelText        equ        TAG_USER+37
  93. LA_LabelID        equ        TAG_USER+38
  94. LA_ID            equ        TAG_USER+39
  95. LA_Type         equ        TAG_USER+40
  96. LA_PageSelector     equ        TAG_USER+79
  97. LA_LabelChars        equ        TAG_USER+107
  98.  
  99. ; Storage type tags
  100. LA_BYTE         equ        TAG_USER+63
  101. LA_UBYTE        equ        TAG_USER+64
  102. LA_WORD         equ        TAG_USER+65
  103. LA_BOOL         equ        TAG_USER+65
  104. LA_UWORD        equ        TAG_USER+66
  105. LA_LONG         equ        TAG_USER+67
  106. LA_ULONG        equ        TAG_USER+68
  107. LA_STRPTR        equ        TAG_USER+69
  108. LA_FRACTION        equ        TAG_USER+68
  109.  
  110. ; For use with LT_GetAttributes() only
  111. LA_Left         equ        TAG_USER+16
  112. LA_Top            equ        TAG_USER+17
  113. LA_Width        equ        TAG_USER+18
  114. LA_Height        equ        TAG_USER+19
  115. LA_LabelLeft        equ        TAG_USER+114
  116. LA_LabelTop        equ        TAG_USER+115
  117.  
  118. ; BOOPSI_KIND
  119. LABO_TagCurrent     equ        TAG_USER+119
  120. LABO_TagTextAttr    equ        TAG_USER+120
  121. LABO_TagDrawInfo    equ        TAG_USER+121
  122. LABO_TagLink        equ        TAG_USER+129
  123. LABO_TagScreen        equ        TAG_USER+132
  124. LABO_Link        equ        LALV_Link
  125. LABO_ClassInstance    equ        TAG_USER+122
  126. LABO_ClassName        equ        TAG_USER+123
  127. LABO_ClassLibraryName    equ        TAG_USER+124
  128. LABO_ExactWidth equ        TAG_USER+127
  129. LABO_ExactHeight    equ        TAG_USER+128
  130. LABO_RelFontHeight    equ        TAG_USER+131
  131. LABO_Object        equ        TAG_USER+133
  132. LABO_FullWidth        equ        TAG_USER+135
  133. LABO_FullHeight     equ        TAG_USER+136
  134. LABO_ActivateHook    equ        TAG_USER+141
  135.  
  136. ; BOX_KIND
  137. LABX_Labels        equ        TAG_USER+12
  138. LABX_Lines        equ        TAG_USER+13
  139. LABX_Rows        equ        TAG_USER+1
  140. LABX_Index        equ        TAG_USER+14
  141. LABX_Text        equ        TAG_USER+15
  142. LABX_AlignText        equ        TAG_USER+27
  143. LABX_DrawBox        equ        TAG_USER+11
  144. LABX_FirstLabel     equ        TAG_USER+44
  145. LABX_LastLabel        equ        TAG_USER+45
  146. LABX_ReserveSpace    equ        TAG_USER+72
  147. LABX_LabelTable     equ        TAG_USER+98
  148.  
  149. ; BUTTON_KIND
  150. LABT_ReturnKey        equ        TAG_USER+34
  151. LABT_EscKey        equ        TAG_USER+56
  152. LABT_ExtraFat        equ        TAG_USER+29
  153. LABT_Lines        equ        TAG_USER+140
  154. LABT_FirstLine        equ        TAG_USER+44
  155. LABT_LastLine        equ        TAG_USER+45
  156. LABT_DefaultCorrection    equ        TAG_USER+145
  157. LABT_Smaller        equ        TAG_USER+147
  158.  
  159. ; CYCLE_KIND
  160. LACY_FirstLabel     equ        TAG_USER+44
  161. LACY_LastLabel        equ        TAG_USER+45
  162. LACY_LabelTable     equ        TAG_USER+98
  163. LACY_AutoPageID     equ        TAG_USER+103
  164. LACY_TabKey        equ        TAG_USER+118
  165.  
  166. ; FRACTION_KIND
  167. LAFC_MaxChars        equ        TAG_USER+20
  168. LAFC_Number        equ        TAG_USER+21
  169. LAFC_LastGadget     equ        TAG_USER+28
  170. LAFC_Min        equ        TAG_USER+23
  171. LAFC_Max        equ        TAG_USER+24
  172. LAFC_HistoryLines    equ        TAG_USER+59
  173. LAFC_HistoryHook    equ        TAG_USER+80
  174. LAFC_Activate        equ        TAG_USER+148
  175.  
  176. ; FRAME_KIND
  177. LAFR_InnerWidth     equ        TAG_USER+9
  178. LAFR_InnerHeight    equ        TAG_USER+10
  179. LAFR_DrawBox        equ        TAG_USER+11
  180. LAFR_RefreshHook    equ        TAG_USER+117
  181.  
  182. ; GAUGE_KIND
  183. LAGA_Percent        equ        TAG_USER+36
  184. LAGA_InfoLength     equ        TAG_USER+70
  185. LAGA_InfoText        equ        TAG_USER+71
  186. LAGA_NoTicks        equ        TAG_USER+143
  187. LAGA_Discrete        equ        TAG_USER+144
  188. LAGA_Tenth        equ        TAG_USER+144
  189.  
  190. ; INTEGER_KIND
  191. LAIN_LastGadget     equ        TAG_USER+28
  192. LAIN_Min        equ        TAG_USER+23
  193. LAIN_Max        equ        TAG_USER+24
  194. LAIN_UseIncrementers    equ        TAG_USER+57
  195. LAIN_Incrementers    equ        TAG_USER+57
  196. LAIN_HistoryLines    equ        TAG_USER+59
  197. LAIN_HistoryHook    equ        TAG_USER+80
  198. LAIN_IncrementerHook    equ        TAG_USER+85
  199. LAIN_Activate        equ        TAG_USER+148
  200.  
  201. ; LISTVIEW_KIND
  202. LALV_ExtraLabels    equ        TAG_USER+26
  203. LALV_Labels        equ        TAG_USER+33
  204. LALV_CursorKey        equ        TAG_USER+35
  205. LALV_Lines        equ        TAG_USER+1
  206. LALV_Link        equ        TAG_USER+7
  207. LALV_FirstLabel     equ        TAG_USER+44
  208. LALV_LastLabel        equ        TAG_USER+45
  209. LALV_MaxGrowX        equ        TAG_USER+77
  210. LALV_MaxGrowY        equ        TAG_USER+78
  211. LALV_LabelTable     equ        TAG_USER+98
  212. LALV_LockSize        equ        TAG_USER+106
  213. LALV_ResizeX        equ        TAG_USER+109
  214. LALV_ResizeY        equ        TAG_USER+110
  215. LALV_MinChars        equ        TAG_USER+111
  216. LALV_MinLines        equ        TAG_USER+112
  217. LALV_FlushLabelLeft    equ        TAG_USER+113
  218. LALV_TextAttr        equ        TAG_USER+138
  219. LALV_AutoPageID     equ        TAG_USER+103
  220.  
  221. ; LEVEL_KIND
  222. LAVL_Min        equ        GTSL_Min
  223. LAVL_Max        equ        GTSL_Max
  224. LAVL_Level        equ        GTSL_Level
  225. LAVL_LevelFormat    equ        GTSL_LevelFormat
  226. LAVL_LevelPlace     equ        GTSL_LevelPlace
  227. LAVL_DispFunc        equ        GTSL_DispFunc
  228. LAVL_FullCheck        equ        LASL_FullCheck
  229.  
  230. ; MX_KIND
  231. LAMX_FirstLabel     equ        TAG_USER+44
  232. LAMX_LastLabel        equ        TAG_USER+45
  233. LAMX_LabelTable     equ        TAG_USER+98
  234. LAMX_TabKey        equ        TAG_USER+118
  235. LAMX_AutoPageID     equ        TAG_USER+103
  236.  
  237. ; PALETTE_KIND
  238. LAPA_SmallPalette    equ        TAG_USER+32
  239. LAPA_Lines        equ        LA_Lines
  240. LAPA_UsePicker        equ        TAG_USER+137
  241. LAPA_Picker        equ        TAG_USER+137
  242.  
  243. ; PASSWORD_KIND
  244. LAPW_String        equ        GTST_String
  245. LAPW_LastGadget     equ        TAG_USER+28
  246. LAPW_HistoryLines    equ        TAG_USER+59
  247. LAPW_HistoryHook    equ        TAG_USER+80
  248. LAPW_Activate        equ        TAG_USER+148
  249.  
  250. ; POPUP_KIND
  251. LAPU_FirstLabel     equ        TAG_USER+44
  252. LAPU_LastLabel        equ        TAG_USER+45
  253. LAPU_LabelTable     equ        TAG_USER+98
  254. LAPU_AutoPageID     equ        TAG_USER+103
  255. LAPU_TabKey        equ        TAG_USER+118
  256. LAPU_Labels        equ        GTCY_Labels
  257. LAPU_Active        equ        GTCY_Active
  258.  
  259. ; SLIDER_KIND
  260. LASL_FullCheck        equ        TAG_USER+22
  261.  
  262. ; SCROLLER_KIND
  263. LASC_Thin        equ        TAG_USER+62
  264.  
  265. ; STRING_KIND
  266. LAST_LastGadget     equ        TAG_USER+28
  267. LAST_Link        equ        TAG_USER+7
  268. LAST_Picker        equ        TAG_USER+5
  269. LAST_UsePicker        equ        TAG_USER+5
  270. LAST_HistoryLines    equ        TAG_USER+59
  271. LAST_HistoryHook    equ        TAG_USER+80
  272. LAST_CursorPosition    equ        TAG_USER+105
  273. LAST_Activate        equ        TAG_USER+148
  274.  
  275. ; TAPEDECK_KIND
  276. LATD_ButtonType     equ        TAG_USER+86
  277. LATD_Toggle        equ        TAG_USER+87
  278. LATD_Pressed        equ        TAG_USER+88
  279. LATD_Smaller        equ        TAG_USER+89
  280. LATD_Tick        equ        TAG_USER+139
  281.  
  282. ; TEXT_KIND
  283. LATX_Picker        equ        TAG_USER+5
  284. LATX_UsePicker        equ        TAG_USER+5
  285. LATX_LockSize        equ        TAG_USER+106
  286.  
  287. ; VERTICAL_KIND, HORIZONTAL_KIND
  288. LAGR_Spread        equ        TAG_USER+6
  289. LAGR_SameSize        equ        TAG_USER+8
  290. LAGR_LastAttributes    equ        TAG_USER+46
  291. LAGR_ActivePage     equ        TAG_USER+58
  292. LAGR_Frame        equ        TAG_USER+104
  293. LAGR_IndentX        equ        TAG_USER+130
  294. LAGR_IndentY        equ        TAG_USER+134
  295. LAGR_NoIndent        equ        TAG_USER+146
  296.  
  297. ; XBAR_KIND
  298. LAXB_FullSize        equ        TAG_USER+50
  299. LAXB_FullWidth        equ        TAG_USER+50
  300.  
  301. ; Applicable for layout handle only
  302. LAHN_Font        equ        TAG_USER+41
  303. LAHN_AutoActivate    equ        TAG_USER+42
  304. LAHN_LocaleHook     equ        TAG_USER+4
  305. LAHN_CloningPermitted    equ        TAG_USER+61
  306. LAHN_EditHook        equ        TAG_USER+74
  307. LAHN_ExactClone     equ        TAG_USER+75
  308. LAHN_MenuGlyphs     equ        TAG_USER+76
  309. LAHN_Parent        equ        TAG_USER+83
  310. LAHN_BlockParent    equ        TAG_USER+84
  311. LAHN_SimpleClone    equ        TAG_USER+90
  312. LAHN_ExitFlush        equ        TAG_USER+108
  313. LAHN_UserData        equ        TAG_USER+116
  314. LAHN_RawKeyFilter    equ        TAG_USER+142
  315.  
  316. ; Applicable for menus only
  317. LAMN_FirstLabel     equ        LABX_FirstLabel
  318. LAMN_LastLabel        equ        LABX_LastLabel
  319. LAMN_LabelTable     equ        TAG_USER+98
  320. LAMN_TitleText        equ        TAG_USER + 17000
  321. LAMN_TitleID        equ        TAG_USER + 17001
  322. LAMN_ItemText        equ        TAG_USER + 17002
  323. LAMN_ItemID        equ        TAG_USER + 17003
  324. LAMN_SubText        equ        TAG_USER + 17004
  325. LAMN_SubID        equ        TAG_USER + 17005
  326. LAMN_KeyText        equ        TAG_USER + 17006
  327. LAMN_KeyID        equ        TAG_USER + 17007
  328. LAMN_CommandText    equ        TAG_USER + 17008
  329. LAMN_CommandID        equ        TAG_USER + 17009
  330. LAMN_MutualExclude    equ        TAG_USER + 17010
  331. LAMN_UserData        equ        TAG_USER + 17011
  332. LAMN_Disabled        equ        TAG_USER + 17012
  333. LAMN_CheckIt        equ        TAG_USER + 17013
  334. LAMN_Checked        equ        TAG_USER + 17014
  335. LAMN_Toggle        equ        TAG_USER + 17015
  336. LAMN_Code        equ        TAG_USER + 17016
  337. LAMN_Qualifier        equ        TAG_USER + 17017
  338. LAMN_Char        equ        TAG_USER + 17018
  339. LAMN_ID         equ        TAG_USER + 17019
  340. LAMN_AmigaGlyph     equ        TAG_USER + 17020
  341. LAMN_CheckmarkGlyph    equ        TAG_USER + 17021
  342. LAMN_Error        equ        TAG_USER + 17022
  343. LAMN_Screen        equ        TAG_USER + 17023
  344. LAMN_TextAttr        equ        TAG_USER + 17024
  345. LAMN_LayoutHandle    equ        TAG_USER + 17025
  346. LAMN_Handle        equ        TAG_USER + 17025
  347. LAMN_ExtraSpace     equ        TAG_USER + 17026
  348.  
  349. ; Applicable for window only
  350. LAWN_Menu        equ        TAG_USER+25
  351. LAWN_UserPort        equ        TAG_USER+47
  352. LAWN_Left        equ        TAG_USER+48
  353. LAWN_Top        equ        TAG_USER+49
  354. LAWN_Zoom        equ        TAG_USER+50
  355. LAWN_MaxPen        equ        TAG_USER+52
  356. LAWN_BelowMouse     equ        TAG_USER+53
  357. LAWN_MoveToWindow    equ        TAG_USER+54
  358. LAWN_AutoRefresh    equ        TAG_USER+55
  359. LAWN_HelpHook        equ        TAG_USER+73
  360. LAWN_Parent        equ        TAG_USER+81
  361. LAWN_BlockParent    equ        TAG_USER+82
  362. LAWN_SmartZoom        equ        TAG_USER+91
  363. LAWN_Title        equ        TAG_USER+92
  364. LAWN_TitleText        equ        TAG_USER+92
  365. LAWN_Bounds        equ        TAG_USER+93
  366. LAWN_ExtraWidth     equ        TAG_USER+94
  367. LAWN_ExtraHeight    equ        TAG_USER+95
  368. LAWN_IDCMP        equ        TAG_USER+96
  369. LAWN_AlignWindow    equ        TAG_USER+97
  370. LAWN_TitleID        equ        TAG_USER+99
  371. LAWN_FlushLeft        equ        TAG_USER+14000
  372. LAWN_FlushTop        equ        TAG_USER+14001
  373. LAWN_Show        equ        TAG_USER+14002
  374. LAWN_MenuTemplate    equ        TAG_USER+14003
  375. LAWN_MenuTags        equ        TAG_USER+14004
  376.  
  377. ; Private tags; do not use, or you'll run into trouble!
  378. LA_Private1        equ        TAG_USER+100
  379. LA_Private2        equ        TAG_USER+101
  380.  
  381. *****************************************************************************
  382.  
  383. ; Identifies the absence of a link for a listview or a string gadget
  384. NIL_LINK        equ        -2
  385.  
  386. *****************************************************************************
  387.  
  388. * String gadget type history hook support: you will either get
  389. * the following value passed as the message parameter to your
  390. * hook function, or a pointer to a null-terminated string you should
  391. * copy and create a Node from, which you should then add to the tail
  392. * of your history list. Place a pointer to your history list in the
  393. * Hook.h_Data entry.
  394.  
  395. HISTORYHOOK_DISCARD_OLDEST    equ    0    ; Discard oldest entry
  396.  
  397. *****************************************************************************
  398.  
  399. * Incrementer hook support: you will get the current value
  400. * passed as the object and one of the following values as
  401. * the message. Return the number to be used.
  402.  
  403. ;IncrementerMsgTypes
  404. INCREMENTERMSG_DECREMENT    EQU    -1 ;Decrement value
  405. INCREMENTERMSG_INITIAL        EQU     0 ;Initial value passed upon gadget creation
  406. INCREMENTERMSG_INCREMENT    EQU     1 ;Increment value
  407.  
  408. *****************************************************************************
  409.  
  410. * Help key hook support: the hook will be called with a "STRUCTURE IBox *"
  411. * as the object and a "STRUCTURE HelpMsg *". The IBox describes the object
  412. * the mouse was positioned over, such as a button, a listview, etc.
  413. * The "ObjectID" will indicate the ID of the object the mouse was
  414. * positioned over. The ID will be -1 if no object was to be found.
  415.  
  416.     STRUCTURE HelpMsg,0
  417.        APTR  Handle;    ; Window layout handle
  418.        LONG  ObjectID;    ; ID of the object, -1 for full window
  419.        LABEL HelpMsg_SIZEOF
  420.  
  421. *****************************************************************************
  422.  
  423. * Refresh hook support: you will get the following structure
  424. * passed as the message and a pointer to the LayoutHandle as
  425. * the object.
  426.  
  427.     STRUCTURE RefreshMsg,0
  428.        LONG   ID
  429.        WORD   Left,Top,Width,Height
  430.        LABEL  RefreshMsg_SIZEOF
  431.  
  432. *****************************************************************************
  433.  
  434. ; Obsolete tags, don't use in new code
  435. LA_Lines        equ        LABX_Rows
  436. LA_Spread        equ        LAGR_Spread
  437. LA_SameSize        equ        LAGR_SameSize
  438. LA_FullCheck        equ        LASL_FullCheck
  439. LA_ExtraLabels        equ        LALV_ExtraLabels
  440. LA_LastGadget        equ        LAFC_LastGadget
  441. LA_SmallPalette     equ        LAPA_SmallPalette
  442. LA_Labels        equ        LALV_Labels
  443. LA_Picker        equ        LATX_Picker
  444. LA_DrawBox        equ        LAFR_DrawBox
  445. LA_FirstLabel        equ        LABX_FirstLabel
  446. LA_LastLabel        equ        LABX_LastLabel
  447. LA_LabelTable        equ        LABX_LabelTable
  448. LA_Min            equ        LAFC_Min
  449. LA_Max            equ        LAFC_Max
  450. LA_Link         equ        LALV_Link
  451. LA_Menu         equ        LAWN_Menu
  452. LA_HistoryLines     equ        LAST_HistoryLines
  453. LA_HistoryHook        equ        LAST_HistoryHook
  454. LA_ReturnKey        equ        LABT_ReturnKey
  455. LA_ExtraFat        equ        LABT_ExtraFat
  456. LA_CursorKey        equ        LALV_CursorKey
  457. STORE_BYTE        equ        TAG_USER+63
  458. STORE_UBYTE        equ        TAG_USER+64
  459. STORE_WORD        equ        TAG_USER+65
  460. STORE_BOOL        equ        TAG_USER+65
  461. STORE_UWORD        equ        TAG_USER+66
  462. STORE_LONG        equ        TAG_USER+67
  463. STORE_ULONG        equ        TAG_USER+68
  464. STORE_STRPTR        equ        TAG_USER+69
  465. STORE_FRACTION        equ        TAG_USER+68
  466. LH_Font         equ        TAG_USER+41
  467. LH_AutoActivate     equ        TAG_USER+42
  468. LH_LocaleHook        equ        TAG_USER+4
  469. LH_CloningPermitted    equ        TAG_USER+61
  470. LH_EditHook        equ        TAG_USER+74
  471. LH_ExactClone        equ        TAG_USER+75
  472. LH_MenuGlyphs        equ        TAG_USER+76
  473. LH_Parent        equ        TAG_USER+83
  474. LH_BlockParent        equ        TAG_USER+84
  475. LH_SimpleClone        equ        TAG_USER+90
  476. LH_ExitFlush        equ        TAG_USER+108
  477. LH_UserData        equ        TAG_USER+116
  478. LH_RawKeyFilter     equ        TAG_USER+142
  479.  
  480. *****************************************************************************
  481.  
  482. ; kinds of objects supported in addition to the normal GadTools kinds
  483. HORIZONTAL_KIND     equ        45
  484. VERTICAL_KIND        equ        46
  485. END_KIND        equ        47
  486. FRAME_KIND        equ        48
  487. BOX_KIND        equ        49
  488. FRACTION_KIND        equ        50
  489. XBAR_KIND        equ        51
  490. YBAR_KIND        equ        52
  491. PASSWORD_KIND        equ        53
  492. GAUGE_KIND        equ        54
  493. TAPEDECK_KIND        equ        55
  494. LEVEL_KIND        equ        56
  495. BOOPSI_KIND        equ        57
  496. POPUP_KIND        equ        58
  497.  
  498. *****************************************************************************
  499.  
  500. ; in support of FRACTION_KIND gadgets
  501. FIXED_UNITY        equ        10000
  502.  
  503. *****************************************************************************
  504.  
  505.     STRUCTURE LayoutHandle,0
  506.        APTR  LH_Screen;
  507.        APTR  LH_DrawInfo;
  508.        APTR  LH_Window;
  509.        APTR  LH_VisualInfo;
  510.        APTR  LH_AmigaGlyph,
  511.        APTR  LH_CheckGlyph;
  512.        APTR  LH_UserData        ; Requires gtlayout.library v9
  513.        APTR  LH_Menu        ; Requires gtlayout.library v13
  514.     LABEL LayoutHandle_SIZEOF;
  515.  
  516. *****************************************************************************
  517.  
  518.     ENDC
  519.